package com.erp.erp_entitys.business.rsp;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName : CarryDetailRsp
 * @Description : 出运明细出参实体
 * @Author : lst
 * @Date: 2020-06-26 19:12
 */
public class CarryDetailRsp implements Serializable {

    /**
     * 序列码
     */
    private static final long serialVersionUID = 7056900485038571889L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 父id
     */
    private Integer parentId;

    /**
     * 出运发票号
     */
    private String carryInvoiceNo;

    /**
     * 制单日期
     */
    private Date createDate;


    /**
     * 运输方式
     */
    private String modeOfTransport;

    /**
     * 出运日期
     */
    private Date carryDate;

    /**
     * 出运计划号
     */
    private String carryPlanNo;

    /**
     * 销售合同号
     */
    private String saleContractNo;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getCarryInvoiceNo() {
        return carryInvoiceNo;
    }

    public void setCarryInvoiceNo(String carryInvoiceNo) {
        this.carryInvoiceNo = carryInvoiceNo;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }


    public String getModeOfTransport() {
        return modeOfTransport;
    }

    public void setModeOfTransport(String modeOfTransport) {
        this.modeOfTransport = modeOfTransport;
    }

    public Date getCarryDate() {
        return carryDate;
    }

    public void setCarryDate(Date carryDate) {
        this.carryDate = carryDate;
    }

    public String getCarryPlanNo() {
        return carryPlanNo;
    }

    public void setCarryPlanNo(String carryPlanNo) {
        this.carryPlanNo = carryPlanNo;
    }

    public String getSaleContractNo() {
        return saleContractNo;
    }

    public void setSaleContractNo(String saleContractNo) {
        this.saleContractNo = saleContractNo;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CarryDetailRsp").append('[')
                .append("id=")
                .append(id)
                .append(",parentId=")
                .append(parentId)
                .append(",carryInvoiceNo=")
                .append(carryInvoiceNo)
                .append(",createDate=")
                .append(createDate)
                .append(",modeOfTransport=")
                .append(modeOfTransport)
                .append(",carryDate=")
                .append(carryDate)
                .append(",carryPlanNo=")
                .append(carryPlanNo)
                .append(",saleContractNo=")
                .append(saleContractNo)
                .append(']');
        return sb.toString();
    }
}
